package com.base.common.db;


/**
 * 数据存取常量配置 数据库表常量跟内容提供器的相关常量根据实体类生成
 */
public class DBConstants {
	private DBConstants() {

	}

	/**
	 * 内容提供器
	 */
	public static final class ContentProvider {
		private ContentProvider() {

		}

		public static final String AUTHORITY = "com.media.yiti.ytspsapp.provider";
		public static final String PROTOCOL = "content://";
		public static final String DIR = "vnd.android.cursor.dir/vnd.ot.";
		public static final String ITEM = "vnd.android.cursor.item/vnd.ot.";

	}

	/**
	 * 
	 * 版本号
	 */
	public static final class ShopDB {
		private ShopDB() {
		}

		/* 数据库名 */
		public static final String DATABASE_NAME = "ytspsapp.db";
		public static final int DATABASE_VERSION = 1;
		/* 分页时,每页显示的数量 */
		public static final int PAGESIZE = 20;
		// 更新数据库的表
		public static final String[] TABLES_STRINGS = new String[] {
				 };
	}
}
